Optimal. Leaf size=468 \[ \frac{\left (3 \sqrt{2}-7\right ) \left (\sqrt{2} x^2+1\right ) \sqrt{\frac{2 x^4+2 x^2+1}{\left (\sqrt{2} x^2+1\right )^2}} \text{EllipticF}\left (2 \tan ^{-1}\left (\sqrt [4]{2} x\right ),\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{3\ 2^{3/4} \left (3 \sqrt{2}-2\right ) \sqrt{2 x^4+2 x^2+1}}+\frac{2 \sqrt{2} \sqrt{2 x^4+2 x^2+1} x}{15 \left (\sqrt{2} x^2+1\right )}+\frac{2 \left (3 x^2+1\right ) x}{15 \sqrt{2 x^4+2 x^2+1}}-\frac{x}{3 \sqrt{2 x^4+2 x^2+1}}-\frac{\sqrt{2 x^4+2 x^2+1}}{3 x}-\frac{2 \tan ^{-1}\left (\frac{\sqrt{\frac{5}{3}} x}{\sqrt{2 x^4+2 x^2+1}}\right )}{15 \sqrt{15}}-\frac{2 \sqrt [4]{2} \left (\sqrt{2} x^2+1\right ) \sqrt{\frac{2 x^4+2 x^2+1}{\left (\sqrt{2} x^2+1\right )^2}} E\left (2 \tan ^{-1}\left (\sqrt [4]{2} x\right )|\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{15 \sqrt{2 x^4+2 x^2+1}}-\frac{\sqrt [4]{2} \left (3+\sqrt{2}\right ) \left (\sqrt{2} x^2+1\right ) \sqrt{\frac{2 x^4+2 x^2+1}{\left (\sqrt{2} x^2+1\right )^2}} \Pi \left (\frac{1}{24} \left (12-11 \sqrt{2}\right );2 \tan ^{-1}\left (\sqrt [4]{2} x\right )|\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{45 \left (2-3 \sqrt{2}\right ) \sqrt{2 x^4+2 x^2+1}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.445463, antiderivative size = 644, normalized size of antiderivative = 1.38, number of steps used = 15, number of rules used = 10, integrand size = 29, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.345, Rules used = {1335, 1121, 1281, 1197, 1103, 1195, 1221, 1178, 1216, 1706} \[ \frac{2 \sqrt{2} \sqrt{2 x^4+2 x^2+1} x}{15 \left (\sqrt{2} x^2+1\right )}+\frac{2 \left (3 x^2+1\right ) x}{15 \sqrt{2 x^4+2 x^2+1}}-\frac{x}{3 \sqrt{2 x^4+2 x^2+1}}-\frac{\sqrt{2 x^4+2 x^2+1}}{3 x}-\frac{2 \tan ^{-1}\left (\frac{\sqrt{\frac{5}{3}} x}{\sqrt{2 x^4+2 x^2+1}}\right )}{15 \sqrt{15}}-\frac{\left (3+2 \sqrt{2}\right ) \left (\sqrt{2} x^2+1\right ) \sqrt{\frac{2 x^4+2 x^2+1}{\left (\sqrt{2} x^2+1\right )^2}} F\left (2 \tan ^{-1}\left (\sqrt [4]{2} x\right )|\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{15\ 2^{3/4} \sqrt{2 x^4+2 x^2+1}}-\frac{2^{3/4} \left (3+\sqrt{2}\right ) \left (\sqrt{2} x^2+1\right ) \sqrt{\frac{2 x^4+2 x^2+1}{\left (\sqrt{2} x^2+1\right )^2}} F\left (2 \tan ^{-1}\left (\sqrt [4]{2} x\right )|\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{105 \sqrt{2 x^4+2 x^2+1}}-\frac{\left (1-\sqrt{2}\right ) \left (\sqrt{2} x^2+1\right ) \sqrt{\frac{2 x^4+2 x^2+1}{\left (\sqrt{2} x^2+1\right )^2}} F\left (2 \tan ^{-1}\left (\sqrt [4]{2} x\right )|\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{6 \sqrt [4]{2} \sqrt{2 x^4+2 x^2+1}}-\frac{2 \sqrt [4]{2} \left (\sqrt{2} x^2+1\right ) \sqrt{\frac{2 x^4+2 x^2+1}{\left (\sqrt{2} x^2+1\right )^2}} E\left (2 \tan ^{-1}\left (\sqrt [4]{2} x\right )|\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{15 \sqrt{2 x^4+2 x^2+1}}+\frac{\left (3+\sqrt{2}\right )^2 \left (\sqrt{2} x^2+1\right ) \sqrt{\frac{2 x^4+2 x^2+1}{\left (\sqrt{2} x^2+1\right )^2}} \Pi \left (\frac{1}{24} \left (12-11 \sqrt{2}\right );2 \tan ^{-1}\left (\sqrt [4]{2} x\right )|\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{315 \sqrt [4]{2} \sqrt{2 x^4+2 x^2+1}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1335
Rule 1121
Rule 1281
Rule 1197
Rule 1103
Rule 1195
Rule 1221
Rule 1178
Rule 1216
Rule 1706
Rubi steps
\begin{align*} \int \frac{1}{x^2 \left (3+2 x^2\right ) \left (1+2 x^2+2 x^4\right )^{3/2}} \, dx &=\int \left (\frac{1}{3 x^2 \left (1+2 x^2+2 x^4\right )^{3/2}}-\frac{2}{3 \left (3+2 x^2\right ) \left (1+2 x^2+2 x^4\right )^{3/2}}\right ) \, dx\\ &=\frac{1}{3} \int \frac{1}{x^2 \left (1+2 x^2+2 x^4\right )^{3/2}} \, dx-\frac{2}{3} \int \frac{1}{\left (3+2 x^2\right ) \left (1+2 x^2+2 x^4\right )^{3/2}} \, dx\\ &=-\frac{x}{3 \sqrt{1+2 x^2+2 x^4}}-\frac{1}{15} \int \frac{2-4 x^2}{\left (1+2 x^2+2 x^4\right )^{3/2}} \, dx+\frac{1}{12} \int \frac{4-4 x^2}{x^2 \sqrt{1+2 x^2+2 x^4}} \, dx-\frac{4}{15} \int \frac{1}{\left (3+2 x^2\right ) \sqrt{1+2 x^2+2 x^4}} \, dx\\ &=-\frac{x}{3 \sqrt{1+2 x^2+2 x^4}}+\frac{2 x \left (1+3 x^2\right )}{15 \sqrt{1+2 x^2+2 x^4}}-\frac{\sqrt{1+2 x^2+2 x^4}}{3 x}-\frac{1}{60} \int \frac{16+24 x^2}{\sqrt{1+2 x^2+2 x^4}} \, dx-\frac{1}{12} \int \frac{4-8 x^2}{\sqrt{1+2 x^2+2 x^4}} \, dx-\frac{1}{105} \left (4 \left (3+\sqrt{2}\right )\right ) \int \frac{1}{\sqrt{1+2 x^2+2 x^4}} \, dx+\frac{1}{105} \left (4 \left (2+3 \sqrt{2}\right )\right ) \int \frac{1+\sqrt{2} x^2}{\left (3+2 x^2\right ) \sqrt{1+2 x^2+2 x^4}} \, dx\\ &=-\frac{x}{3 \sqrt{1+2 x^2+2 x^4}}+\frac{2 x \left (1+3 x^2\right )}{15 \sqrt{1+2 x^2+2 x^4}}-\frac{\sqrt{1+2 x^2+2 x^4}}{3 x}-\frac{2 \tan ^{-1}\left (\frac{\sqrt{\frac{5}{3}} x}{\sqrt{1+2 x^2+2 x^4}}\right )}{15 \sqrt{15}}-\frac{2^{3/4} \left (3+\sqrt{2}\right ) \left (1+\sqrt{2} x^2\right ) \sqrt{\frac{1+2 x^2+2 x^4}{\left (1+\sqrt{2} x^2\right )^2}} F\left (2 \tan ^{-1}\left (\sqrt [4]{2} x\right )|\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{105 \sqrt{1+2 x^2+2 x^4}}+\frac{\left (3+\sqrt{2}\right )^2 \left (1+\sqrt{2} x^2\right ) \sqrt{\frac{1+2 x^2+2 x^4}{\left (1+\sqrt{2} x^2\right )^2}} \Pi \left (\frac{1}{24} \left (12-11 \sqrt{2}\right );2 \tan ^{-1}\left (\sqrt [4]{2} x\right )|\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{315 \sqrt [4]{2} \sqrt{1+2 x^2+2 x^4}}+\frac{1}{5} \sqrt{2} \int \frac{1-\sqrt{2} x^2}{\sqrt{1+2 x^2+2 x^4}} \, dx-\frac{1}{3} \sqrt{2} \int \frac{1-\sqrt{2} x^2}{\sqrt{1+2 x^2+2 x^4}} \, dx-\frac{1}{3} \left (1-\sqrt{2}\right ) \int \frac{1}{\sqrt{1+2 x^2+2 x^4}} \, dx-\frac{1}{15} \left (4+3 \sqrt{2}\right ) \int \frac{1}{\sqrt{1+2 x^2+2 x^4}} \, dx\\ &=-\frac{x}{3 \sqrt{1+2 x^2+2 x^4}}+\frac{2 x \left (1+3 x^2\right )}{15 \sqrt{1+2 x^2+2 x^4}}-\frac{\sqrt{1+2 x^2+2 x^4}}{3 x}+\frac{2 \sqrt{2} x \sqrt{1+2 x^2+2 x^4}}{15 \left (1+\sqrt{2} x^2\right )}-\frac{2 \tan ^{-1}\left (\frac{\sqrt{\frac{5}{3}} x}{\sqrt{1+2 x^2+2 x^4}}\right )}{15 \sqrt{15}}-\frac{2 \sqrt [4]{2} \left (1+\sqrt{2} x^2\right ) \sqrt{\frac{1+2 x^2+2 x^4}{\left (1+\sqrt{2} x^2\right )^2}} E\left (2 \tan ^{-1}\left (\sqrt [4]{2} x\right )|\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{15 \sqrt{1+2 x^2+2 x^4}}-\frac{\left (1-\sqrt{2}\right ) \left (1+\sqrt{2} x^2\right ) \sqrt{\frac{1+2 x^2+2 x^4}{\left (1+\sqrt{2} x^2\right )^2}} F\left (2 \tan ^{-1}\left (\sqrt [4]{2} x\right )|\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{6 \sqrt [4]{2} \sqrt{1+2 x^2+2 x^4}}-\frac{2^{3/4} \left (3+\sqrt{2}\right ) \left (1+\sqrt{2} x^2\right ) \sqrt{\frac{1+2 x^2+2 x^4}{\left (1+\sqrt{2} x^2\right )^2}} F\left (2 \tan ^{-1}\left (\sqrt [4]{2} x\right )|\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{105 \sqrt{1+2 x^2+2 x^4}}-\frac{\left (3+2 \sqrt{2}\right ) \left (1+\sqrt{2} x^2\right ) \sqrt{\frac{1+2 x^2+2 x^4}{\left (1+\sqrt{2} x^2\right )^2}} F\left (2 \tan ^{-1}\left (\sqrt [4]{2} x\right )|\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{15\ 2^{3/4} \sqrt{1+2 x^2+2 x^4}}+\frac{\left (3+\sqrt{2}\right )^2 \left (1+\sqrt{2} x^2\right ) \sqrt{\frac{1+2 x^2+2 x^4}{\left (1+\sqrt{2} x^2\right )^2}} \Pi \left (\frac{1}{24} \left (12-11 \sqrt{2}\right );2 \tan ^{-1}\left (\sqrt [4]{2} x\right )|\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{315 \sqrt [4]{2} \sqrt{1+2 x^2+2 x^4}}\\ \end{align*}
Mathematica [C] time = 0.237159, size = 211, normalized size = 0.45 \[ \frac{-(27-39 i) \sqrt{1-i} x \sqrt{1+(1-i) x^2} \sqrt{1+(1+i) x^2} \text{EllipticF}\left (i \sinh ^{-1}\left (\sqrt{1-i} x\right ),i\right )-12 i \sqrt{1-i} x \sqrt{1+(1-i) x^2} \sqrt{1+(1+i) x^2} E\left (\left .i \sinh ^{-1}\left (\sqrt{1-i} x\right )\right |i\right )-2 \left (12 x^4+39 x^2+2 (1-i)^{3/2} \sqrt{1+(1-i) x^2} \sqrt{1+(1+i) x^2} x \Pi \left (\frac{1}{3}+\frac{i}{3};\left .i \sinh ^{-1}\left (\sqrt{1-i} x\right )\right |i\right )+15\right )}{90 x \sqrt{2 x^4+2 x^2+1}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.016, size = 553, normalized size = 1.2 \begin{align*}{\frac{8}{3} \left ({\frac{3\,{x}^{3}}{20}}+{\frac{x}{20}} \right ){\frac{1}{\sqrt{2\,{x}^{4}+2\,{x}^{2}+1}}}}-{\frac{{\it EllipticF} \left ( x\sqrt{-1+i},{\frac{\sqrt{2}}{2}}+{\frac{i}{2}}\sqrt{2} \right ) }{15\,\sqrt{-1+i}}\sqrt{-i{x}^{2}+{x}^{2}+1}\sqrt{i{x}^{2}+{x}^{2}+1}{\frac{1}{\sqrt{2\,{x}^{4}+2\,{x}^{2}+1}}}}-{\frac{{\frac{i}{5}}{\it EllipticF} \left ( x\sqrt{-1+i},{\frac{\sqrt{2}}{2}}+{\frac{i}{2}}\sqrt{2} \right ) }{\sqrt{-1+i}}\sqrt{-i{x}^{2}+{x}^{2}+1}\sqrt{i{x}^{2}+{x}^{2}+1}{\frac{1}{\sqrt{2\,{x}^{4}+2\,{x}^{2}+1}}}}-{\frac{{\it EllipticE} \left ( x\sqrt{-1+i},{\frac{\sqrt{2}}{2}}+{\frac{i}{2}}\sqrt{2} \right ) }{5\,\sqrt{-1+i}}\sqrt{-i{x}^{2}+{x}^{2}+1}\sqrt{i{x}^{2}+{x}^{2}+1}{\frac{1}{\sqrt{2\,{x}^{4}+2\,{x}^{2}+1}}}}+{\frac{{\frac{i}{5}}{\it EllipticE} \left ( x\sqrt{-1+i},{\frac{\sqrt{2}}{2}}+{\frac{i}{2}}\sqrt{2} \right ) }{\sqrt{-1+i}}\sqrt{-i{x}^{2}+{x}^{2}+1}\sqrt{i{x}^{2}+{x}^{2}+1}{\frac{1}{\sqrt{2\,{x}^{4}+2\,{x}^{2}+1}}}}-{\frac{4}{45\,\sqrt{-1+i}}\sqrt{-i{x}^{2}+{x}^{2}+1}\sqrt{i{x}^{2}+{x}^{2}+1}{\it EllipticPi} \left ( x\sqrt{-1+i},{\frac{1}{3}}+{\frac{i}{3}},{\frac{\sqrt{-1-i}}{\sqrt{-1+i}}} \right ){\frac{1}{\sqrt{2\,{x}^{4}+2\,{x}^{2}+1}}}}-{\frac{x}{3}{\frac{1}{\sqrt{2\,{x}^{4}+2\,{x}^{2}+1}}}}-{\frac{1}{3\,x}\sqrt{2\,{x}^{4}+2\,{x}^{2}+1}}-{\frac{{\it EllipticF} \left ( x\sqrt{-1+i},{\frac{\sqrt{2}}{2}}+{\frac{i}{2}}\sqrt{2} \right ) }{3\,\sqrt{-1+i}}\sqrt{1+ \left ( 1-i \right ){x}^{2}}\sqrt{1+ \left ( 1+i \right ){x}^{2}}{\frac{1}{\sqrt{2\,{x}^{4}+2\,{x}^{2}+1}}}}-{\frac{ \left ({\frac{1}{3}}-{\frac{i}{3}} \right ) \left ({\it EllipticF} \left ( x\sqrt{-1+i},{\frac{\sqrt{2}}{2}}+{\frac{i}{2}}\sqrt{2} \right ) -{\it EllipticE} \left ( x\sqrt{-1+i},{\frac{\sqrt{2}}{2}}+{\frac{i}{2}}\sqrt{2} \right ) \right ) }{\sqrt{-1+i}}\sqrt{1+ \left ( 1-i \right ){x}^{2}}\sqrt{1+ \left ( 1+i \right ){x}^{2}}{\frac{1}{\sqrt{2\,{x}^{4}+2\,{x}^{2}+1}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{{\left (2 \, x^{4} + 2 \, x^{2} + 1\right )}^{\frac{3}{2}}{\left (2 \, x^{2} + 3\right )} x^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\sqrt{2 \, x^{4} + 2 \, x^{2} + 1}}{8 \, x^{12} + 28 \, x^{10} + 40 \, x^{8} + 32 \, x^{6} + 14 \, x^{4} + 3 \, x^{2}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{x^{2} \left (2 x^{2} + 3\right ) \left (2 x^{4} + 2 x^{2} + 1\right )^{\frac{3}{2}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{{\left (2 \, x^{4} + 2 \, x^{2} + 1\right )}^{\frac{3}{2}}{\left (2 \, x^{2} + 3\right )} x^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]